package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketAdmin;
import com.cskaoyan.market.db.domain.MarketUser;

import java.util.HashMap;
import java.util.List;

/**
 * @ClassName MarketAdminService
 * @Description: TODO
 * @Author 远志 zhangsong@cskaoyan.onaliyun.com
 * @Date 2023/5/5 11:08
 * @Version V1.0
 **/
public interface MarketAdminService {
    List<MarketAdmin> login(String username, String password);

    HashMap<String, Long> getDashboard();
    List<MarketAdmin> list(String page,String limit,String sort,String order,String userName);
    List<MarketAdmin> listForAdminInfromByUserName(MarketAdmin marketAdmin);

    MarketAdmin update(MarketAdmin marketAdmin);

    List<MarketAdmin> create(MarketAdmin marketAdmin);

    int delete(MarketAdmin marketAdmin);

}
